package cn.lanqiao.book.service;

import cn.lanqiao.book.pojo.Book;
import cn.lanqiao.book.pojo.ShelfBook;

import java.util.List;

public interface IBookShelfService {
    //将id为book_id 的书籍加入 用户名为username的用户书架
    Boolean addBookToShelf(int book_id,String username);
    Boolean deleteMyBookShelf(int book_id,String username);
    Boolean deleteTempBookShelf(int book_id,String username);
    //将id为book_id 的书籍加入 用户名为username的临时书架
    Boolean addBookToShelf(int book_id,int chapter_id,String username);
    List<ShelfBook> getBookShelf(String username);
    List<ShelfBook> getTempBookShelf(String username);
}
